package com.zy.dp.chainofresponsibility.example1;

public class ConcreteHandlerA extends Handler
{

	@Override
	public void handleRequest()
	{
		boolean someCondition = false;

		if (someCondition)
		{

			System.out.println("ConcreteHandlerA handle request");
		}
		else
		{

			if (this.successor != null)
			{
				this.successor.handleRequest();
			}
		}
	}

}
